package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author zhmwi
 * @Date 2021/9/4
 * @Dersciption
 */
public interface CustomerDao {
    //查询客户列表
    List<Customer> selectCustomerList(@Param("customerName") String customerName);

    //新增客户
    Boolean save(Customer customer);

    //更新客户
    Boolean update(Customer customer);

    //删除客户
    void delete(String id);
}
